module.exports = {
    publicPath: './',
    assetsDir: 'static',
    productionSourceMap: false,
    devServer: {
        port:8088,
        proxy: {
            '/ai': { //ai 录题平台
                target: 'http://localhost:8095',
                //target: 'http://localhost:8070',
                changeOrigin: true,
                pathRewrite: {
                    '/api': ''
                }
            },
            '/book': {  //书本服务
                // target: 'http://aiplatform-mgmt.eebbk.net',
                target: 'http://localhost:9096',
                changeOrigin: true,
                pathRewrite: {
                    '/book': '/book-server'
                }
            }
        }
    }
}